<template>
  <div>
    <p>父组件</p>
    <!-- 使用两个子组件 -->
    <Son1></Son1>
    <Son2></Son2>
  </div>
</template>

<script>
import Son1 from "./Son1.vue";
import Son2 from "./Son2.vue";
export default {
  data() {
    return {};
  },
  components: {
    Son1,
    Son2
  }
};
</script>
<style scoped>
</style>